package com.maozzi.api.auth.annotation;

import java.lang.annotation.*;

/**
 * @author maozi
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Login {
    /**
     * 是否需要登录，默认需要
     */
    boolean require() default true;
}
